﻿using BCCommon.Enums;
using BCCommon.PaymentEnums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace BCDto.Common.Wallet
{
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
    public class WalletTransferRequestDto
#pragma warning restore CS1591 // 缺少对公共可见类型或成员的 XML 注释
    {
        /// <summary>
        /// 支付密码
        /// </summary>
        [Display(Name = "支付密码")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string PayPassword { get; set; }

        /// <summary>
        /// 提现金额
        /// </summary>
        [Display(Name = "提现金额")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public decimal Amount { get; set; }

        /// <summary>
        /// 提现渠道
        /// </summary>
        [Display(Name = "提现渠道")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public CashOutChannelType PaymentChannelId { get; set; }

        /// <summary>
        /// 操作系统。
        /// </summary>
        [Display(Name = "操作系统")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public SourceOSType OSType { get; set; }

        /// <summary>
        /// APP类型
        /// </summary>

        [Display(Name = "APP类型")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public SourceAppType AppType { get; set; }

        /// <summary>
        /// 设备编号。
        /// </summary>
        [Display(Name = "设备编号")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string DeviceId { get; set; }

        /// <summary>
        /// 银行卡号
        /// </summary>
        public string BankCardNo { get; set; }
    }
}